using JTZY.Model.Goods.Dto;
using JTZY.Model.Goods;
using Infrastructure.Model;

namespace JTZY.Service.Goods.IGoodsService
{
    /// <summary>
    /// 良品service接口
    /// </summary>
    public interface ICorecmsusergoodsService : IBaseService<Corecmsusergoods>
    {
        PagedInfo<CorecmsusergoodsDto> GetList(CorecmsusergoodsQueryDto parm);

        Corecmsusergoods GetInfo(long Id);


        Corecmsusergoods AddCorecmsusergoods(Corecmsusergoods parm);
        int UpdateCorecmsusergoods(Corecmsusergoods parm);
        PagedInfo<usersgoodsDto> GetGoodsList(CorecmsusergoodsQueryDto parm);
        Corecmsusergoods GetInfo(long userId, int goodId);
        WebApiCallBack Marketable(Corecmsusergoods modal);
        PagedInfo<usersgoodsDto> ExportList(CorecmsusergoodsQueryDto parm);
    }
}
